Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread blog entry: converting JSON <--> Object
Fri, May 3 2024 8:05 PMPermanent Link

erickengelke

Avatar

There's  a new blog post about converting between JSON and Objects.   It's a lot easier than using TReader and TWriter.

https://erickengelke.com/posts/post25.html

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Mon, May 6 2024 12:51 PMPermanent Link

Ralf Mimoun

Quick question: That thing writes/reads the published properties of an object?
Mon, May 6 2024 3:19 PMPermanent Link

erickengelke

Avatar

Ralf Mimoun wrote:

Quick question: That thing writes/reads the published properties of an object?

It reads/writes ALL properties of an object, or an array, etc.

There are cases where Treader and Twriter are more appropriate, where you only want to save published properties, it really depends what you are trying to do.

Erick
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Image